package com.lnsf.bookstore.system.orderDetail.service.impl;

import com.lnsf.bookstore.system.orderDetail.dao.OrderDetailMapper;
import com.lnsf.bookstore.system.orderDetail.service.OrderDetailService;
import com.lnsf.bookstore.system.orderDetail.vo.OrderDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {

    @Autowired
    private OrderDetailMapper orderDetailMapper;

    @Override
    public List<OrderDetail> selectByOid(Integer oid) {
        return orderDetailMapper.selectDetailByOid(oid);
    }
}
